// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import fastClick from 'fastclick'
//  这是一个轮播图插件，你可以查看GitHub上的东西
// https://github.com/wangahodaye/vue-awesome-swiper
import VueAwesomeSwiper from 'vue-awesome-swiper'

//  解决手机ES6的兼容性问题，有的安卓手机不支持promse对象，让他支持
import 'babel-polyfill'
import store from './store'
//  这里的目录取了别名，你可以看一下 webpack.base.conf.js
import 'styles/reset.css'
import 'styles/border.css'
import 'styles/iconfont.css'
import 'swiper/dist/css/swiper.css'

Vue.config.productionTip = false
fastClick.attach(document.body)
Vue.use(VueAwesomeSwiper)
//  项目接口调试



/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
